nums = {
    'tom': [6, 5, 2],
    'jack': [5, 7],
    'rose': [54, 5],
    'tim': [23, 8],
    'mike': [8, 9]
}
for name, nums in nums.items():
    print(f"{name} like:")
    for num in nums:
        print(f"\t{num}")
    print("\n")